//
//  LNHomeModule.m
//  BeeHive
//
//  Created by 陆宁 on 2019/12/25.
//

#import "LNHomeModule.h"
#import "LNHomeServiceProtocol.h"
#import "LNHomeViewController.h"
@interface LNHomeModule()<BHModuleProtocol>

@end
@implementation LNHomeModule

+ (void)load
{
    [BeeHive registerDynamicModule:[self class]];
}

- (id)init{
    if (self = [super init])
    {
        NSLog(@"LNHomeModule init");
    }
    
    return self;
}

-(void)modInit:(BHContext *)context
{
    NSLog(@"模块初始化中");
}

- (void)modSetUp:(BHContext *)context
{
    [[BeeHive shareInstance]  registerService:@protocol(LNHomeServiceProtocol) service:[LNHomeViewController class]];
}

@end
